

class TopicXmlTemplate:

    def __init__(self,rId):

        self.pic_str=f"""
        <w:r>
        <w:rPr>
        <w:rFonts w:hint="default" w:eastAsia="MS Mincho"/><w:lang w:val="en-US" w:eastAsia="ja-JP"/></w:rPr>
        <w:drawing><wp:inline distT="0" distB="0" distL="114300" distR="114300">
        <wp:extent cx="596900" cy="228600"/>
        <wp:effectExtent l="0" t="0" r="0" b="0"/>
        <wp:docPr id="1" name="图片 1" descr="image_0"/>
        <wp:cNvGraphicFramePr><a:graphicFrameLocks xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" noChangeAspect="1"/>
        </wp:cNvGraphicFramePr><a:graphic xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">
        <a:graphicData uri="http://schemas.openxmlformats.org/drawingml/2006/picture">
        <pic:pic xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture">
        <pic:nvPicPr><pic:cNvPr id="1" name="图片 1" descr="image_0"/>
        <pic:cNvPicPr><a:picLocks noChangeAspect="1"/>
        </pic:cNvPicPr>
        </pic:nvPicPr>
        <pic:blipFill><a:blip r:embed='{rId}'/>
        <a:stretch><a:fillRect/></a:stretch></pic:blipFill>
        <pic:spPr><a:xfrm><a:off x="0" y="0"/>
        <a:ext cx="596900" cy="228600"/>
        </a:xfrm><a:prstGeom prst="rect"><a:avLst/>
        </a:prstGeom></pic:spPr></pic:pic></a:graphicData></a:graphic></wp:inline></w:drawing></w:r>
        """